<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

namespace Post\Controller;
class DialogmessageController extends \Member\Controller\IndexController {

	//消息地址------------------------------------------------------------------------------------/
	//消息地址删除
	//地址 /post/dialogmessage/delete
	public function deleteAction(){
		if(intval($_GET['mobile'])){
			//移动
		}else{
			if(IsPost('Submit')){
				//模块
				$model=new \Member\Model\MemberDialogMessageModel();
				$result=$model->DeleteData();
				$this->ajaxReturn(array('title'=>'删除成功','message'=>'删除成功!','status'=>'ok','refresh'=>true,'url'=>''),$_POST['datatype']);
			}else{
				$this->ajaxReturn(array('title'=>'验证失败','message'=>'没有数据提交！'.$result,'status'=>'error'),$_POST['datatype']);
			}
		}
	}
	
	//消息地址------------------------------------------------------------------------------------ end/

}